	<h4>Daftar Pendaftar Beasiswa yang Belum Pernah Diterima</h4>
	<table id="rejects">
		<thead>
			<tr>
				<th>NPM</th>
				<th>Nama</th>
				<th>Prodi</th>
				<th>Mendaftar di Beasiswa</th>
			</tr>
		</thead>
		<tfoot>
			<?php echo $pager; ?>
		</tfoot>
		<tbody>
<?php 
	$flag = FALSE;
	foreach ($data as $key => $rejects) :
		if ($rejects != NULL) :
			$flag = TRUE;
			foreach ($rejects as $reject) :
?>
			<tr>
				<td align="center"><?php echo $reject['number']; ?></td>
				<td><?php echo anchor('mahalum/student/profile/index?id='.$reject['id'], $reject['student'], array('target' => '_blank')); ?></td>
				<td align="center"><?php echo $reject['major']; ?></td>
				<td><?php echo $reject['registered']; ?></td>
			</tr>
<?php 
			endforeach;
		endif;
	endforeach;
	if ($flag == FALSE) :
?>
			<tr>
				<td align="center" colspan="4"><span class="info">Tidak ada data yang sesuai dengan kriteria.</span></td>
			</tr>
<?php endif; ?>
		</tbody>
	</table>
	<div class="clear"><?php echo nbs(); ?></div>
<?php echo '</div>'; ?>

<script type="text/javascript">
	$(document).ready(function() {
		$('#rejects').tablesorter({
			widthFixed: true,
			widgets: ['zebra']
		}).tablesorterPager({
			container: $(".pager")
		});
	});
</script>